$mainThemeColor: #4bc984;

.scroll-content {
  padding: 0 !important;
  overflow: scroll !important;
}

.tabs-ios .tab-button[aria-selected=true] .tab-button-icon {
  color: #4bc984;
}

.tabs-ios .tab-button:hover:not(.disable-hover), .tabs-ios .tab-button[aria-selected=true] {
  color: #4bc984;
}

#homeWrapper {
  position: relative;
  overflow-x: hidden;
  .location {
    position: relative;
    width: 100%;
    height: 3.8rem;
    background-color: $mainThemeColor;
    overflow: hidden;
    .place, .scan {
      position: absolute;
      display: inline-block;
    }
    .place {
      left: 1.46rem;
      line-height: 2.75rem;
      .locationIcon {
        width: 1.2rem;
        vertical-align: sub;
      }
      .high {
        font-size: 1.6rem;
        line-height: 3.8rem;
        color: #fff;
        margin-left: 3px;
      }
    }
    .scan {
      right: 1.26rem;
      line-height: 2.75rem;
      .scanIcon {
        width: 1.6rem;
        vertical-align: sub;
      }
      .sao {
        font-size: 1.6rem;
        line-height: 3.8rem;
        color: #fff;
        margin-left: 3px;
      }
    }
  }

  // main banner show
  .banner {
    width: 100%;
    height: 13rem;
    .bannerImg {
      width: 100%;
      height: 13rem;
      img {
        width: 100%;
        height: 13rem;
        border: none;
      }
    }
  }

  // tips show will order
  .tips {
    width: 100%;
    height: 3.5rem;
    margin-top: -3px;
    background-color: #eee;
    text-align: center;
    border: none;
    span {
      padding: 3px 15px;
      line-height: 3.5rem;
      color: #fff;
      font-size: 1.2rem;
      border-radius: 4px;
      background-color: #ff9933;
      letter-spacing: 1px;
    }
  }

  .timeFragment {
    display: flex;
    height: 4rem;
    .wrapTab {
      display: inline-block;
      flex: 1;
      text-align: center;
      height: 4rem;
      line-height: 4rem;
      background-color: #fff;
      border-bottom-width: 2px;
      border-bottom-color: #fff;
      border-bottom-style: inset;
      .spTime {
        font-size: 1.6rem;
        color: #353535;
        font-weight: bold;
      }
    }
  }

  .turnGreen {
    border-bottom-color: #4bc984 !important;
    border-bottom-width: .25rem;
    border-bottom-style: solid;
    .spTime {
      color: $mainThemeColor !important;
    }
  }

  .goodsWrap {
    width: 100%;
    height: 14rem;
    border: 1px solid #f1f1f1;
    ul {
      margin: 0px;
      padding: 0px;
      height: 14rem;
      width: 100%;
    }
    li {
      width: 33.2%;
      height: 14rem;
      list-style: none;
      text-align: center;
      border-left-color: #ededed;
      border-left-width: 1px;
      border-left-style: solid;
      float: left;
      div {
        position: relative;
        margin-top: 1rem;
        text-align: left;
        margin-left: 5px;
        .cart {
          position: absolute;
          width: 2rem;
          right: 5px;
        }
      }
    }
    li:nth-child(1) {
      border-left-style: none;
    }
  }

  .goodsImg {
    width: 7.65rem;
  }

  .goodsName {
    margin: 0;
    font-size: 1.35rem;
    color: #353535;
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    padding: 2px 10px;
    overflow: hidden;
    width: 100%;
    -webkit-line-clamp: 1;
  }

  .goodsVip {
    font-size: 1.48rem;
    color: #f12c20;
    margin-top: .5rem;
  }

  .goodsPrice {
    text-decoration: line-through;
    margin-left: .3rem;
    font-size: 1.35rem;
    color: #cccccc;
  }

  // gray line
  .greyWrap {
    width: 100%;
    height: 1.15rem;
    background-color: rgb(238, 238, 238);
  }

  .everBuy {
    width: 100%;
    height: 4.1rem;
    background-color: #fff;
    border: 1px solid #dfdfdf;
    border-left-width: 0;
    border-right-width: 0;
    span {
      line-height: 4.1rem;
      margin-left: 1rem;
      color: #353535;
      font-size: 1.5rem;
    }
  }

  .everWrap {
    position: relative;
    width: 100%;
    height: 12rem;
    border: 1px solid #ddd;
    border-top-width: 0;
    border-left-width: 0;
    border-right-width: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    padding: 10px 10px;
    .imgBox {
      position: relative;
      display: inline-block;
      background-color: #f7f7fa;
      width: 10rem;
      text-align: center;
      height: 10rem;
      flex: 1;
      img {
        width: 6.25rem;
        height: 8.25rem;
        margin-top: 10px;
      }
    }
    .descBox {
      position: relative;
      display: inline-block;
      width: 69%;
      height: 10rem;
      -webkit-box-flex: 2;
      -webkit-flex: 2;
      -ms-flex: 2;
      flex: 2;
      padding: 5px 4px 0px 7px;
      p:nth-child(1) {
        font-size: 1.45rem;
        color: #000;
        margin-top: 4px;
      }
      p:nth-child(2) {
        font-size: 1.25rem;
        color: #888;
        margin-top: -10px;
      }
      strong {
        font-size: 1.8rem;
        color: #f12c20;
        label:nth-child(1) {
          font-size: 1.5rem;
          color: #f12c20;
        }
        label:nth-child(2) {
          font-size: 1rem;
          color: #ccc;
          margin-left: 8px;
        }
      }
      img {
        position: absolute;
        right: 5px;
        height: 2.5rem;
      }
    }
  }

  .category {
    display: flex;
    width: 100%;
    height: 4.1rem;
    border: 1px solid #ddd;
    border-left-width: 0;
    border-right-width: 0;
    div {
      flex: 1;
      text-align: center;
      line-height: 4.1rem;
      span {
        font-size: 1.25rem;
      }
    }
  }

  .wrapGoods {
    position: relative;
    width: 100%;
    ul {
      margin: 0px;
      padding: 0px;
      width: 100%;
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: inline-block;
      overflow-x: hidden;
      li {
        list-style: none;
        width: 33.2%;
        -ms-flex: 1;
        display: inline-block;
        text-align: center;
        border-right-color: #dfdfdf;
        border-right-width: 1px;
        border-right-style: solid;
        border-bottom-color: #dfdfdf;
        border-bottom-style: solid;
        border-bottom-width: 1px;
        padding: 6px 6px;
        div {
          position: relative;
          p {
            text-align: left;
          }
          .priceWrapper {
            position: relative;
            text-align: left;
          }
          .redCart {
            position: absolute;
            width: 2rem;
            right: 0px;
            bottom: -2px;
          }
        }
      }

      li:nth-child(3n) {
        border-right-style: none;
      }
    }
  }
}
































